<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Creating Roles &mdash; Documentation</title>
    <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="Documentation" href="index.html" />
    <link rel="up" title="2. Building an Application" href="build_app.html" />
    <link rel="next" title="Creating Users (Profile)" href="creating_profiles.html" />
    <link rel="prev" title="Creating Entities" href="creating_entities.html" /> 
  </head>
  <body>
    <div style="background-color: #FFF; text-align: left; padding: 8px 0px"><img src="_static/banner300910.gif"></div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="modindex.html" title="Global Module Index"
             accesskey="M">modules</a> |</li>
        <li class="right" >
          <a href="creating_profiles.html" title="Creating Users (Profile)"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="creating_entities.html" title="Creating Entities"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">Documentation</a> &raquo;</li>
          <li><a href="build_app.html" accesskey="U">2. Building an Application</a> &raquo;</li> 
      </ul>
    </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h4>Previous topic</h4>
            <p class="topless"><a href="creating_entities.html"
                                  title="previous chapter">Creating Entities</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="creating_profiles.html"
                                  title="next chapter">Creating Users (Profile)</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="_sources/creating_roles.txt"
                     rel="nofollow">Show Source</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          <script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="creating-roles">
<h1>Creating Roles<a class="headerlink" href="#creating-roles" title="Permalink to this headline">¶</a></h1>
<p>Roles are assigned to users so that you can define a group of users and set permission (or other) rules.</p>
<blockquote>
<ol class="arabic simple">
<li>To create a new role, click &#8220;New&#8221; on the top toolbar and select &#8220;Role&#8221;</li>
<li>Give the Role name, use descriptive names here like - &#8220;Contact Manager&#8221;</li>
<li>Set the module, (use the standard; if you want create a new module, go ahead!)</li>
<li>Click on the green &#8220;Save&#8221; button</li>
</ol>
</blockquote>
<p>Your new Roles is created! To check, click on the &#8220;Search&#8221; button on the top toolbar and select &#8220;Role&#8221;
Click on &#8220;Search&#8221; and see that your new Role is added to the list of already existing roles:</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>Pre-defined roles. There are 3 basic roles that are pre-defined in the system. It is suggested,
you leave them as it is!</p>
<blockquote class="last">
<ol class="arabic simple">
<li>Administrator: Role given to the application builder / maintainer</li>
<li>All: All logged in users have the role &#8220;All&#8221;</li>
<li>Guest: Users who are not yet logged in.</li>
</ol>
</blockquote>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="modindex.html" title="Global Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="creating_profiles.html" title="Creating Users (Profile)"
             >next</a> |</li>
        <li class="right" >
          <a href="creating_entities.html" title="Creating Entities"
             >previous</a> |</li>
        <li><a href="index.html">Documentation</a> &raquo;</li>
          <li><a href="build_app.html" >2. Building an Application</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
      &copy; Copyright 2010, Rushabh Mehta.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
    </div>
  </body>
</html>